package com.atguigu.ssyx.common.config.minio.config;

/**
 * @author 杨林
 * @create 2023-07-27 9:31 星期四
 * description:
 */

import com.atguigu.ssyx.common.config.minio.config.MinioConfiguration;
import com.atguigu.ssyx.common.config.minio.properties.MinioProperties;
import io.minio.MinioClient;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * Minio自动配置类
 */
@Configuration
@EnableConfigurationProperties(MinioProperties.class)   //1、MinioProperties和配置文件绑定  2、把MinioProperties注册到容器中
@Import(MinioConfiguration.class)
public class MinioAutoConfiguration {
}
